package com.t.bricks.bussiness.db.entity.accountinfo.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 账户信息'AccountInfo'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 * @author HuangXinBian
 * @DateTime 2021年07月19日 09:04:41
 */
@ApiModel("账户信息AccountInfo")
@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo")
public class AccountInfoBase implements Serializable {

	private static final long serialVersionUID = 1L;// 使用rmi时需修改

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sId", sComment="记录编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="")
	//[end]
	protected String sId;

	/**
	 * 目标程序(标识哪个地方使用)
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sGoal", sComment="目标程序(标识哪个地方使用)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="目标程序(标识哪个地方使用)", example="")
	//[end]
	protected String sGoal;

	/**
	 * 账号
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sName", sComment="账号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="账号", example="")
	//[end]
	protected String sName;

	/**
	 * 密码
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sPassword", sComment="密码", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="密码", example="")
	//[end]
	protected String sPassword;

	/**
	 * 二次密钥串
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sKey", sComment="二次密钥串", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=13, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="二次密钥串", example="")
	//[end]
	protected String sKey;

	/**
	 * 注册手机
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sPhone", sComment="注册手机", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="注册手机", example="")
	//[end]
	protected String sPhone;

	/**
	 * 注册邮箱
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sMail", sComment="注册邮箱", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=60, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="注册邮箱", example="")
	//[end]
	protected String sMail;

	/**
	 * 安保问题(逗号分隔)
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sAsk", sComment="安保问题(逗号分隔)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=600, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="安保问题(逗号分隔)", example="")
	//[end]
	protected String sAsk;
	
	/**
	 * 安保答案(逗号分隔)
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sAnswer", sComment="安保答案(逗号分隔)", isDbField=true, sDbFileType="decimal",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=4, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="安保答案(逗号分隔)", example="")
	//[end]
	protected BigDecimal sAnswer;

	/**
	 * 注册时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="dStDate", sComment="注册时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=9 )
	@ApiModelProperty(value="注册时间", example="")
	//[end]
	protected Date dStDate;

	/**
	 * 归类(枚举,1:一般;2:常用;3:重要)
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="iType", sComment="归类(枚举,1:一般;2:常用;3:重要)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="归类(枚举,1:一般;2:常用;3:重要)", example="1")
	//[end]
	protected Integer iType;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=11 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建者
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sCreator", sComment="创建者", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=12 )
	@ApiModelProperty(value="创建者", example="")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=13 )
	@ApiModelProperty(value="创建时间", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=14 )
	@ApiModelProperty(value="修改人", example="")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=15 )
	@ApiModelProperty(value="修改时间", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="iState", sComment="状态", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="状态", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=17 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksSafe", sTableName="AccountInfo",
		sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=18 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 记录编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置记录编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 目标程序(标识哪个地方使用)
	 * @return String
	 */
	public String getsGoal() {
		return sGoal;
	}

	/**
	 * 设置目标程序(标识哪个地方使用)
	 * @param sGoal
	 */
	public void setsGoal(String sGoal) {
		this.sGoal = sGoal;
	}

	/**
	 * 取 账号
	 * @return String
	 */
	public String getsName() {
		return sName;
	}

	/**
	 * 设置账号
	 * @param sName
	 */
	public void setsName(String sName) {
		this.sName = sName;
	}

	/**
	 * 取 密码
	 * @return String
	 */
	public String getsPassword() {
		return sPassword;
	}

	/**
	 * 设置密码
	 * @param sPassword
	 */
	public void setsPassword(String sPassword) {
		this.sPassword = sPassword;
	}

	/**
	 * 取 二次密钥串
	 * @return String
	 */
	public String getsKey() {
		return sKey;
	}

	/**
	 * 设置二次密钥串
	 * @param sKey
	 */
	public void setsKey(String sKey) {
		this.sKey = sKey;
	}

	/**
	 * 取 注册手机
	 * @return String
	 */
	public String getsPhone() {
		return sPhone;
	}

	/**
	 * 设置注册手机
	 * @param sPhone
	 */
	public void setsPhone(String sPhone) {
		this.sPhone = sPhone;
	}

	/**
	 * 取 注册邮箱
	 * @return String
	 */
	public String getsMail() {
		return sMail;
	}

	/**
	 * 设置注册邮箱
	 * @param sMail
	 */
	public void setsMail(String sMail) {
		this.sMail = sMail;
	}

	/**
	 * 取 安保问题(逗号分隔)
	 * @return String
	 */
	public String getsAsk() {
		return sAsk;
	}

	/**
	 * 设置安保问题(逗号分隔)
	 * @param sAsk
	 */
	public void setsAsk(String sAsk) {
		this.sAsk = sAsk;
	}

	/**
	 * 取 安保答案(逗号分隔)
	 * @return Long
	 */
	public BigDecimal getsAnswer() {
		return sAnswer;
	}

	/**
	 * 设置 安保答案(逗号分隔)
	 * @param sAnswer
	 */
	public void setsAnswer(BigDecimal sAnswer) {
		this.sAnswer = sAnswer;
	}

	/**
	 * 取 注册时间
	 * @return Date
	 */
	public Date getdStDate() {
		return dStDate;
	}

	/**
	 * 设置注册时间
	 * @param dStDate
	 */
	public void setdStDate(Date dStDate) {
		this.dStDate = dStDate;
	}

	/**
	 * 取 归类(枚举,1:一般;2:常用;3:重要)
	 * @return Integer
	 */
	public Integer getiType() {
		return iType;
	}

	/**
	 * 设置归类(枚举,1:一般;2:常用;3:重要)
	 * @param iType
	 */
	public void setiType(Integer iType) {
		this.iType = iType;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建者
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建者
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
